﻿namespace QuickGet.Core
{
    public class QuickGetOptions
    {
        /// <summary>
        /// 源
        /// </summary>
        public Dictionary<string, string> SourceList { get; set; } = new Dictionary<string, string>() { ["nuget.org"] = "https://api.nuget.org/v3/index.json" };

        /// <summary>
        /// 存储位置
        /// </summary>
        public string StoragePath { get; set; } = "./.nuget/packages";

        /// <summary>
        /// 下载过期时间
        /// </summary>
        public TimeSpan DownloadExpiration { get; set; } = TimeSpan.FromMinutes(30);

        /// <summary>
        /// 域名
        /// </summary>
        public string? Domain { get; set; } 
    }
}
